<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Conversion extends CI_Controller {

	public function __construct()
	{
		parent::__construct();			
		
		$logged_in = $this->session->userdata('logged_in');
		if($logged_in)
		{
		   $session_data = $this->session->userdata('logged_in');
		   $data['username'] = $session_data['username'];		   
		}
		else
		{
	     //If no session, redirect to login page
	     redirect('login', 'refresh');
   		}
	}
	
	public function index()
	{
		redirect('export');
	}		
}
